const ships = require("../sql/ships")
const sql = require('../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
    sql.add(ships,req.fields).then(()=>{
        res.send({
            code:0,
            msg:"添加成功1111"
        })
    }) 
}